.search-page {
  min-height: 100vh;
  background: #f5f5f5;
  
  .search-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    
    :global(.adm-nav-bar-title) {
      font-weight: 600;
    }
  }
  
  .search-content {
    padding: 16px;
    
    .search-input-section {
      margin-bottom: 20px;
      
      .search-input {
        --border-radius: 20px;
        --background-color: #fff;
        --placeholder-color: #999;
        
        :global(.adm-search-bar-input-box) {
          background: #fff;
          border: 1px solid #e8e8e8;
        }
      }
    }
    
    .search-default-content {
      .hot-search-section,
      .search-history-section {
        margin-bottom: 24px;
        
        .section-header {
          display: flex;
          align-items: center;
          margin-bottom: 12px;
          
          .section-icon {
            font-size: 18px;
            color: #ff4d4f;
            margin-right: 8px;
          }
          
          .section-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            flex: 1;
          }
          
          .clear-history-btn {
            background: none;
            border: none;
            color: #999;
            font-size: 14px;
            cursor: pointer;
            padding: 4px 8px;
            
            &:hover {
              color: #666;
            }
          }
        }
        
        .hot-search-tags,
        .history-tags {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          
          .hot-search-tag,
          .history-tag {
            border-radius: 16px;
            padding: 6px 12px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            
            &:hover {
              transform: translateY(-1px);
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }
          }
          
          .hot-search-tag {
            background: #fff;
            border: 1px solid #ff4d4f;
            color: #ff4d4f;
            
            .search-count {
              font-size: 12px;
              opacity: 0.7;
              margin-left: 4px;
            }
          }
          
          .history-tag {
            background: #f0f0f0;
            border: 1px solid #e8e8e8;
            color: #666;
          }
        }
      }
    }
    
    .search-loading {
      text-align: center;
      padding: 40px 20px;
      
      .loading-spinner {
        width: 40px;
        height: 40px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #1890ff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 16px;
      }
      
      p {
        color: #666;
        font-size: 14px;
      }
    }
    
    .search-results {
      .results-header {
        margin-bottom: 16px;
        
        .results-count {
          font-size: 14px;
          color: #666;
        }
      }
      
      .results-list {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        
        .result-item {
          padding: 16px;
          border-bottom: 1px solid #f0f0f0;
          
          &:last-child {
            border-bottom: none;
          }
          
          .result-content {
            .result-header {
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-bottom: 8px;
              
              .result-title {
                font-size: 16px;
                font-weight: 600;
                color: #333;
                margin: 0;
                display: flex;
                align-items: center;
                gap: 8px;
                
                .hot-badge {
                  font-size: 14px;
                }
              }
              
              .type-tag {
                font-size: 12px;
                padding: 2px 8px;
                border-radius: 10px;
              }
            }
            
            .result-description {
              font-size: 14px;
              color: #666;
              line-height: 1.5;
              margin: 0;
            }
          }
        }
      }
    }
    
    .no-results {
      padding: 40px 20px;
      
      .empty-icon {
        font-size: 48px;
        margin-bottom: 16px;
      }
    }
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
